<?php

	class Zend_View_Helper_RetrievePages extends Zend_View_Helper_Abstract
	{	
		/**
		 * objeto do itpo page
		 * @var [type]
		 */
		private $_page;


		/**
		 * retorna objetos do tipo pages
		 */
		function retrievePages()
		{
			$this->_page = new Pacman_Model_Pages;
			$result = $this->_page->fetchRow('visibility = 1','order ASC');

			return $result;
		}
		
	}
?>